package com.company.card_service.service;

import com.company.card_service.model.EmployeeView;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.card_service.vo.*;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 赵志浩
 * @since 2022-09-15 04:15:06
 */
public interface EmployeeViewService extends IService<EmployeeView> {

    EmployeeViewVo getEmployeeView(Long companyId);

    ChartResVo getChartData(Long employeeId);

    List<historyEmployeeViewDataVo> getHistoryData(long employeeId, FormSearchTimeVo formSearchTimeVo) throws ParseException;

    Map<String, Object> getUserDay(Integer employeeId);

    List<EmployeeAllUsers> selectAllUsers(Integer employeeId,Integer page,Integer limit);

    List<EmployeeAllUsers> queryAllUsersByPhone(Integer employeeId,String phone,Integer page,Integer limit);

    ChartResVo getChartDataByCompany(Integer companyId);
}
